package cn.com.test;

import java.io.File;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.LinkedBlockingQueue;

public class Main {
	public static void main(String[] args) {
		LinkedBlockingDeque<File> deque = new LinkedBlockingDeque<File>();
		LinkedBlockingQueue<File> queue = new LinkedBlockingQueue<File>(100);
		int i=0;
		while(i<500){
			queue.add(new File(""));
			System.out.println(i++);
		}
	}
}
